import request from '@/utils/request'

export function generatorCode(data) {
  return request({
    url: '/generator/batchOutput',
    method: 'post',
    data
  })
}

export function previewCode(data) {
  return request({
    url: '/generator/preview',
    method: 'post',
    data
  })
}

